﻿using Wicresoft.SMS.Gateway.Host;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Wicresoft.SMS.Data;
using System.Collections.Generic;

namespace SMS.Gateway.Host.Test
{
    
    
    /// <summary>
    ///This is a test class for GlobalFactoryTest and is intended
    ///to contain all GlobalFactoryTest Unit Tests
    ///</summary>
    [TestClass()]
    public class GlobalFactoryTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for CreateDatabaseProvider
        ///</summary>
        [TestMethod()]
        public void CreateDatabaseProviderTest()
        {
            IDataProvider expected = null; // TODO: Initialize to an appropriate value
            IDataProvider actual;
            actual = GlobalFactory.CreateDatabaseProvider();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateESinfoProvider
        ///</summary>
        [TestMethod()]
        public void CreateESinfoProviderTest()
        {
            IExchangeServerInfo expected = null; // TODO: Initialize to an appropriate value
            IExchangeServerInfo actual;
            actual = GlobalFactory.CreateESinfoProvider();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateEmailDatabaseProvider
        ///</summary>
        [TestMethod()]
        public void CreateEmailDatabaseProviderTest()
        {
            IEmailDataAccess expected = null; // TODO: Initialize to an appropriate value
            IEmailDataAccess actual;
            actual = GlobalFactory.CreateEmailDatabaseProvider();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreatePushMessageProvider
        ///</summary>
        [TestMethod()]
        public void CreatePushMessageProviderTest()
        {
            IPushMessageProvider expected = null; // TODO: Initialize to an appropriate value
            IPushMessageProvider actual;
            actual = GlobalFactory.CreatePushMessageProvider();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateSMSProvider
        ///</summary>
        [TestMethod()]
        public void CreateSMSProviderTest()
        {
            ISMSProvider expected = null; // TODO: Initialize to an appropriate value
            ISMSProvider actual;
            actual = GlobalFactory.CreateSMSProvider();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CreateServiceConfigProvider
        ///</summary>
        [TestMethod()]
        public void CreateServiceConfigProviderTest()
        {
            IServiceConfigProvider expected = null; // TODO: Initialize to an appropriate value
            IServiceConfigProvider actual;
            actual = GlobalFactory.CreateServiceConfigProvider();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for GetAllTasks
        ///</summary>
        [TestMethod()]
        public void GetAllTasksTest()
        {
            IEnumerable<Task> expected = null; // TODO: Initialize to an appropriate value
            IEnumerable<Task> actual;
            actual = GlobalFactory.GetAllTasks();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
